const r={hasDuplicateProperty(r,t){if(Array.isArray(t)){const n=/* @__PURE__ */new Set;for(const e of r){const r=JSON.stringify(t.map(r=>e[r]));if(n.has(r))return!0;n.add(r)}return!1}{const n=/* @__PURE__ */new Set;for(const e of r){const r=e[t];if(n.has(r))return!0;n.add(r)}return!1}},hasDifferentProperty(r,t){if(r.length<=1)return!1;if(Array.isArray(t)){const n=JSON.stringify(t.map(t=>r[0][t]));for(let e=1;e<r.length;e++){if(JSON.stringify(t.map(t=>r[e][t]))!==n)return!0}}else{const n=r[0][t];for(let e=1;e<r.length;e++)if(r[e][t]!==n)return!0}return!1}};export{r as arrayUtil};
//# sourceMappingURL=index.mjs.map
